Skip to content

replace colons in route identifiers#591

Merged
jycouet merged 1 commit intojycouet:mainfrom
fehnomenal:feat/replace-colon
Jan 7, 2024
Merged

replace colons in route identifiers#591
jycouet merged 1 commit intojycouet:mainfrom
fehnomenal:feat/replace-colon

Conversation

@fehnomenal
Copy link
Contributor

In my project I have some routes like /admin/things/id:123. This : is not replaced so that the generated code looks like a type specification:

image

This PR fixes the problem by also replacing :s with _s.

@jycouet
Copy link
Owner

jycouet commented Jan 7, 2024

Thx 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants